package model;


public class UserEvent {

	private int id;
	private int uId;
	private int etId;
	private int tId;
	private String desc;
	private int pollingTime;
	private int timeSpan;
	private String customTime;
	private String type;
	
	public int gettId() {
		return tId;
	}
	public void settId(int tId) {
		this.tId = tId;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getuId() {
		return uId;
	}
	public void setuId(int uId) {
		this.uId = uId;
	}
	public int getEtId() {
		return etId;
	}
	public void setEtId(int etId) {
		this.etId = etId;
	}
	public int getPollingTime() {
		return pollingTime;
	}
	public void setPollingTime(int pollingTime) {
		this.pollingTime = pollingTime;
	}
	
	public String getCustomTime() {
		return customTime;
	}
	public void setCustomTime(String customTime) {
		this.customTime = customTime;
	}
	public int getTimeSpan() {
		return timeSpan;
	}
	public void setTimeSpan(int timeSpan) {
		this.timeSpan = timeSpan;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public UserEvent(int uId, int etId,int tId, int pollingTime, int timeSpan,
			String customTime, String desc,String type) {
		this.uId = uId;
		this.tId= tId;
		this.etId = etId;
		this.pollingTime = pollingTime;
		this.timeSpan = timeSpan;
		this.customTime = customTime;
		this.desc = desc;
		this.type = type;
	}
	public UserEvent() {
		super();
	}
	@Override
	public String toString() {
		return "UserEvent [id=" + id + ", uId=" + uId + ", etId=" + etId
				+ ", tId=" + tId + ", desc=" + desc + ", pollingTime="
				+ pollingTime + ", timeSpan=" + timeSpan + ", customTime="
				+ customTime + ", type=" + type + "]";
	}
	
}
